<span ng-controller="DeleteWidgetTemplateController as deleteTemplate" >
    <a class="team-delete" delete-confirm title="Are you sure you want to clear widget?" confirm-action="deleteTemplate.removeConfig()">
       <span class="widget-settings-icon clickable pull-right fa fa-trash widget-font-fail"
             type="button"></span>
    </a>
</span>
